Manage orders - Get transition eligibilities for a subscription.
サブスクリプションの移行の資格を取得します。
GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/subscriptions/{subscription_id}/transitioneligibilities
GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/subscriptions/{subscription_id}/transitioneligibilities?eligibilityType={eligibilityType}
URI パラメーター
| 名前 | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
customer_id
|
path | True |
string |
顧客 ID。 |
|
subscription_id
|
path | True |
string |
サブスクリプション ID。 |
|
version
|
path | True |
string |
|
|
eligibility
|
query |
string |
型遷移の適格性。 |
要求ヘッダー
| 名前 | 必須 | 型 | 説明 |
|---|---|---|---|
| Authorization | True |
string |
承認ベアラー トークン |
| ms-correlationid |
string |
要求を内部的に追跡するために使用されます。 ms-correlationid が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
|
| ms-cv |
string |
要求を内部的に追跡するために使用されます。 ms-cv が指定されていない場合、サーバーは要求ごとに新しい ms-cv を生成します |
|
| ms-requestid |
string |
要求のべき等性に使用されます。 ms-requestid が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
応答
| 名前 | 型 | 説明 |
|---|---|---|
| 200 OK |
要求が成功しました。 応答本文には、移行の適格性が含まれています。 Media Types: "application/json", "text/json" |
|
| 400 Bad Request |
入力が見つからないか無効でした。 応答本文には、エラーの詳細が表示されます。 Media Types: "application/json", "text/json" |
|
| 401 Unauthorized |
要求が認証されませんでした。 クライアントは、最初にパートナー API サービスで認証する必要があります。 Media Types: "application/json", "text/json" |
|
| 403 Forbidden |
要求は認証されましたが、呼び出し元に呼び出す権限がないため拒否されました。 Media Types: "application/json", "text/json" |
|
| 404 Not Found |
リソースが見つからないか、指定された入力パラメーターで使用できません。 Media Types: "application/json", "text/json" |
|
| 500 Internal Server Error |
パートナー API サービスまたはその依存関係の 1 つが要求を満たできませんでした。 呼び出し元はこれを再試行できます。 Media Types: "application/json", "text/json" |
定義
Microsoft.Partner.Core.Collections.Link
| 名前 | 型 | 説明 |
|---|---|---|
| body |
string |
|
| headers |
System. |
|
| method |
string |
|
| uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
| 名前 | 型 | 説明 |
|---|---|---|
| etag |
string |
|
| objectType |
string |
Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Services.Subscriptions.V1.Models.TransitionEligibility]
| 名前 | 型 | 説明 |
|---|---|---|
| attributes | ||
| items |
Microsoft. |
|
| links | ||
| totalCount |
integer (int32) |
Microsoft.Partner.Core.Collections.ResourceLinks
| 名前 | 型 | 説明 |
|---|---|---|
| next | ||
| previous | ||
| self |
Microsoft.Partner.Services.Subscriptions.V1.Models.TransitionEligibility
| 名前 | 型 | 説明 |
|---|---|---|
| attributes | ||
| catalogItemId |
string |
|
| description |
string |
|
| eligibilities |
Microsoft. |
|
| quantity |
integer (int32) |
|
| title |
string |
Microsoft.Partner.Services.Subscriptions.V1.Models.TransitionEligibilityDetail
| 名前 | 型 | 説明 |
|---|---|---|
| errors |
Microsoft. |
|
| isEligible |
boolean |
|
| transitionType |
enum:
|
Microsoft.Partner.Services.Subscriptions.V1.Models.TransitionError
| 名前 | 型 | 説明 |
|---|---|---|
| code |
enum:
|
|
| description |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
| 名前 | 型 | 説明 |
|---|---|---|
| key |
string |
|
| value |
string |